package auth

import (
	"errors"
)

// 错误常量
var ErrApiInfoNotFInd = errors.New("can not find api by apiMap")  //没有找到接口信息
var ErrTokenNotFInd = errors.New("can not find token in request") //请求头中未找到token
var ErrUserAssert = errors.New("user assert fail")                //用户断言失败
var ErrUserLogin = errors.New("user not login")                   //用户未登录
var ErrApiAuthFail = errors.New("UNAUTHORIZED")                   //无权限

// gin上下文常量
var (
	CtxUser = "ctxUser"
)
